<script type="text/javascript">
	function ajouter(name, price, size, isScore, type) {
		// http://www.w3schools.com/php/php_ajax_php.asp
		if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
			xmlhttp = new XMLHttpRequest();
		} else {// code for IE6, IE5
			xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
		}
		xmlhttp.onreadystatechange = function() {
			if (xmlhttp.readyState==4 && xmlhttp.status==200) {
				document.getElementById("cart").innerHTML=xmlhttp.responseText;
			}
		}
		xmlhttp.open("GET","../controlleur/ajouterItem.php?name="+name+"&price="+price+"&size="+size+"&isScore="+isScore+"&type="+type,true);
		xmlhttp.send();
	}
	function mod() {
		
            document.forms[0].page.value='custom_page';
            document.forms[0].submit();
        }
</script>